﻿/********************************************************************************
** @ Date:2025/05/27
** @ Author: Gaojia
** @ Description: 数据库操作类
** @ Version:1.0.0
** @ Fun:
********************************************************************************/
#ifndef CSqlOper_H
#define CSqlOper_H
#include "CPublicData.h"
#include "CAlarmPoint.h"
class CDevDataBase;
class CDevDataCam;
struct SSensorInfo;
extern QVector<QVector<QString>> selPointInfo(QString &sErr);   //查询报警测点表所有测点状态
extern QVector<QVector<QString>> selPointInfoByType(int nType,QString& sErr);   //查询报警测点表所有测点状态
extern bool insertPointInfo(QVector<QString>,QString& sErr);   //插入数据库没有的测点
extern bool updataPointInfo(QVector<QString>, QString& sErr);   //更新数据库测点数据
extern bool updataPointInfo(CAlarmPoint *Point, QString& sErr);   //更新数据库测点数据
class CSqlOper
{
public:
	CSqlOper();	
	~CSqlOper();
};

#endif